home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
util
/
pack
/
xpk_Source.lha
/
xpk_Source
/
libraries
/
SMakeFile
Wrap
Makefile
|
1998-11-09
|
2KB
|
74 lines
SCOPTS = RESOPT NOSTKCHK STRINGMERGE UCHAR NOCHKABORT OPT OPTSIZE\
OPTINLOCAL NOICONS MEMSIZE=HUGE DATA=FARONLY
SLOPTS = NOICONS SMALLCODE SMALLDATA STRIPDEBUG\
LIB LIB:SDI_ASM_STD_functions.lib
ASM = Sprachen:Phoenix/bin/PhxAss
ODIR = //xpk_Binary/
All: DUKE FAST HUFF NONE NUKE RLEN
DUKE: $(ODIR)xpkDUKE.library
FAST: $(ODIR)xpkFAST.library
HUFF: $(ODIR)xpkHUFF.library
NONE: $(ODIR)xpkNONE.library
NUKE: $(ODIR)xpkNUKE.library
RLEN: $(ODIR)xpkRLEN.library
# ******* DUKE stuff *******
$(ODIR)xpkDUKE.library: $(ODIR)xlDUKE.o $(ODIR)xoDUKE.o
slink FROM $(ODIR)xlDUKE.o $(ODIR)xoDUKE.o $(SLOPTS) TO $@
$(ODIR)xlDUKE.o: NUKE/NUKE.a DUKE/xpkLibDUKE.a
$(ASM) DUKE/xpkLibDUKE.a TO $@
$(ODIR)xoDUKE.o: DUKE/xpkDUKE.c
sc $(SCOPTS) $? OBJNAME=$@
# ******* FAST stuff *******
$(ODIR)xpkFAST.library: FAST/xpkFAST.a FAST/xpkLibFAST.i FAST/compress.a \
FAST/compress2.a FAST/decompress.a
$(ASM) FAST/xpkFAST.a TO $@
# ******* HUFF stuff *******
$(ODIR)xpkHUFF.library: HUFF/xpkHUFF.a HUFF/xpkLibHUFF.i
$(ASM) HUFF/xpkHUFF.a TO $@
# ******* NONE stuff *******
$(ODIR)xpkNONE.library: $(ODIR)xlNONE.o $(ODIR)xoNONE.o
slink FROM $(ODIR)xlNONE.o $(ODIR)xoNONE.o $(SLOPTS) TO $@
$(ODIR)xlNONE.o: NONE/xpkLibNONE.h
sc $(SCOPTS) $? DEFINE=XPKSUB_INCLUDEHEADER OBJNAME=$@ IGNORE=315
$(ODIR)xoNONE.o: NONE/xpkNONE.c
sc $(SCOPTS) $? OBJNAME=$@
# ******* NUKE stuff *******
$(ODIR)xpkNUKE.library: $(ODIR)xlNUKE.o $(ODIR)xoNUKE.o
slink FROM $(ODIR)xlNUKE.o $(ODIR)xoNUKE.o $(SLOPTS) TO $@
$(ODIR)xlNUKE.o: NUKE/NUKE.a NUKE/xpkLibNUKE.a
$(ASM) NUKE/xpkLibNUKE.a TO $@
$(ODIR)xoNUKE.o: NUKE/xpkNUKE.c
sc $(SCOPTS) $? OBJNAME=$@
# ******* RLEN stuff *******
$(ODIR)xpkRLEN.library: $(ODIR)xlRLEN.o $(ODIR)xoRLEN.o
slink FROM $(ODIR)xlRLEN.o $(ODIR)xoRLEN.o $(SLOPTS) TO $@
$(ODIR)xlRLEN.o: RLEN/xpkLibRLEN.a
$(ASM) $? TO $@
$(ODIR)xoRLEN.o: RLEN/xpkRLEN.c
sc $(SCOPTS) $? OBJNAME=$@